//
//  EventStatisItemCell.m
//  ConvenientlyTake
//
//  Created by 张奇 on 2023/1/6.
//

#import "EventStatisItemCell.h"

@interface EventStatisItemCell ()

@property (weak, nonatomic) IBOutlet UIView *contentBgView;
@property (weak, nonatomic) IBOutlet UILabel *nameLable;
@property (weak, nonatomic) IBOutlet UILabel *numLabel;

@end

@implementation EventStatisItemCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.layer.cornerRadius = 4;
    self.layer.masksToBounds = YES;
}

- (void)setModel:(StatisticsKeyValueModel *)model {
    _model = model;
    self.nameLable.text = R(model.eventName);
    self.numLabel.text = R(model.eventNum);
}

@end
